
     <form action="generate_code.php" method="post" name="code_generator" id="code_generator">
        <input name="type" type="hidden" value="php" checked="checked" />
        <input type="hidden" name="action" value="add" />
  <table width="939" border="0" cellpadding="3" cellspacing="3">
   <tr>
      <td width="28%" valign="top"><div align="right">Developer name </div></td>
	  <td width="72%"><input name="author" type="text" value="{DEV_NAME}" />
        (ex. John Smith) </td>
   </tr>
   <tr>
      <td width="28%" valign="top"><div align="right">Project name </div></td>
	  <td width="72%"><input name="projectname" type="text" value="{PROJECT_NAME}" />
        (ex. Rating Script) </td>
   </tr>
   <tr>
      <td valign="top"><div align="right">CLASS name </div></td>
	  <td><input name="name" type="text" value="{CLASS_NAME}" />
        (ex. classProduct) </td>
   </tr>
          <tr>
            <td valign="top"><div align="right">VARIABLE name </div></td>
			<td><input name="varname" type="text" value="{VAR_NAME}" />
        (ex. cp) </td>
          </tr>
          <tr>
            <td valign="top"><div align="right">TABLE name </div></td>
			<td><input name="table" type="text" id="table" size="50" value="{TABLE}" {DISABLE_SOME_FIELDS} /> 
			<input name="table" type="hidden" id="table" value="{TABLE}">       </td>
          </tr>
          <tr>
            <td valign="top"><div align="right">DB fields </div></td>
            <td>
				<input name="fieldnames_en" type="text" id="fieldnames_en" size="100" value="{DBFIELDS_EN}" {DISABLE_SOME_FIELDS} />
<!--			<input name="fieldnames" type="hidden" id="fieldnames" value="{DBFIELDS}"> 
<input name="fieldnames_en" type="hidden" id="fieldnames_en" value="{DBFIELDS_EN}">    -->
            </td>
          </tr>
          <tr>
            <td valign="top"><div align="right">Functions name </div></td>
            
      <td><input name="funct_name" type="text" id="funct_name" value="{EXAMPLE}" size="100" /> 
      <br />
        (ex. {EXAMPLE})</td>
          </tr>
          <tr>
            <td valign="top"><div align="right">History(undo) Table </div></td>
            <td><input name="history_table" id="history_table" type="checkbox" />
                <br />
              (seelct to enable history/undo function) </td>
          </tr>
		   <tr>
            <td colspan="2"><div align="center">
                <input type="submit" name="Submit" value="Submit" class="button" />
            </div></td>
    </tr>
  </table>
</form>
  <p><strong>Developer name:</strong> is the name of the developer&nbsp; - it will be displayed in the header of the source file <br />
          <strong>Project name:</strong> is the name of the project - it will be displayed in the header of the source file <br />
          <strong>CLASS name:</strong> is the name of the class - the name conventions have to be taken into consideration, specific for each language (in java Class, in php class or Class) The name is important when naming a file as the source file will be named <br />
  Class.java (having the same form as the name of the class or cls_class.php in php.<br />
  <strong>VARIABLE name:</strong> the name of the variable is important as a &quot;usage code&quot; is generated, as&nbsp;sample code inserted at the beginning of the source. This may be pasted eventually in the source where this class is applied.<br />
  <strong>TABLE name :</strong> the name of the table.<br />
  <strong>DB fields:</strong> is the list of the table field names. Rules: the first field has to be set as Primary Key, the fields are separates by;.<br />
  <strong>Functions name:</strong> the list has to be similar with the fields one. Rules: it is recommended to be the same as the precedent list but without # and with capitalisation. Thus functions will be generated: getId, setId in case the first field is id in the fields list and Id in this one.<br />
  <strong>History(undo) Table:</strong> If you want to enable the history function in the code, you just put the name of the table, this will generate the table name structure and the functions in the code and enable it.<br />
</p>
